package com.lry.basic.design_mode.observer.demo2;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/13
 */
public interface Observerable {
    boolean registerObserver(User observer);

    boolean removeObserver(User observer);

    boolean notify(User observer);

    boolean notifyObservers();
}
